package reduce.fz.com.reduce.activity;

import android.support.v7.app.ActionBarActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;

import reduce.fz.com.reduce.R;
import reduce.fz.com.reduce.fragment.MessageCommentFragment;
import reduce.fz.com.reduce.fragment.MessageFriendFragment;

public class MessageFriendActivity extends BaseToolBarActivity {

    private MessageFriendFragment fragment;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_message_friend);
        setToolbarTitle("新的朋友");
        attachFragment();
    }

    @Override
    public void initWidget() {

    }

    @Override
    public void initListener() {

    }

    public void attachFragment() {
        fragment = MessageFriendFragment.create();
        getSupportFragmentManager().beginTransaction().replace(R.id.main_container, fragment).commit();
    }
}
